Q3Light_SetState
You can use theQ3Light_SetState
function to set the state of a light.
TQ3Status Q3Light_SetState ( TQ3LightObject light, TQ3Boolean isOn);
light
- A light object.
isOn
- The desired state of the specified light.
DESCRIPTION
TheQ3Light_SetState
function sets the state of the light specified by thelight
parameter to the value specified by theisOn
parameter. IfisOn
is set tokQ3True
, the light is made active; ifisOn
is set tokQ3False
, the light is made inactive.